<include file='Public:head' />
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">

  <div class="mb10">
		<a href="{:U('Airlines/add')}"  class="btn" title="添加内容"><span class="add"></span>添加客服</a>
  </div>
  <div class="h_a">搜索</div>
  <form method="get" action="{:U('index')}">
 
    <div class="search_type cc mb10">
      <div class="mb10"> 
        关键字：
        <input type="text" class="layui-input length_2" name="keyword" style="width:200px;" value="{$Think.get.keyword}" placeholder="请输入关键字...">
        
          <input type="hidden" value="{$Think.get.verifystate}" name="verifystate">
          <button class="layui-btn layuiadmin-btn-useradmin" type="submit">搜索</button>
        </span>
      </div>
    </div>
  </form>
  <form class="J_ajaxForm" action="" method="post">
    <div class="">
      <table width="100%" class="layui-table">
	        <colgroup>
	        <col width="50">
	        <col >
          <col width="">
	        <col width="">
	        <col width="">
	        <col width="">
	       
	        </colgroup>
	        <thead>
	        <tr>
	           
	            <th align="left">ID</th>
	            <th>图标</th>
              <th>标题</th>
              <th>(英)标题</th>
	            <th>账号</th>
	            <th>添加时间</th>
	          
	            <th style="text-align: center;">管理操作</th>
	          </tr>
	        </thead>
          <if condition='$data'>
          <volist name='data' id='value'>
	        <tr>
	           
	            <td align="left">{$value.id}</td>
	            <td>
                <if condition='$value["pic"]'>
	            	  <img src="__ROOT__/{$value.pic}" alt="" width='' height='20' >
                <else />
                  <img src="__ROOT__/Data/Public/images/default.gif" alt="" height='20'>
                </if>
	            </td>
              <td>{$value.name}</td>
              <td>{$value.name_en}</td>
	            <td>{$value.account}</td>
	           
	            <td >{$value.addtime|format_date=###,0}</td>
	            <td align="center">
	             	
	            	<a href="{:U('Airlines/edit',array('id'=>$value["id"]))}" >修改</a> 
	            	| 
	            	<a href="{:U('Airlines/del',array('id'=>$value["id"]))}" class="J_ajax_del" >删除</a>
	            </td>
	        </tr>
        </volist>
        <else/>
        <tr><td colspan="9">没有找到符合条件的记录</td></tr>
        </if>
	        
        </table>
      	<div class="p10"><div class="pages"> {$page} </div> </div>
     
    </div>
    <div class="btn_wrap">
      <div class="btn_wrap_pd">
        <label class="mr20"><input type="checkbox" class="J_check_all" data-direction="y" data-checklist="J_check_y">全选</label>                
        <button class="btn J_ajax_submit_btn" type="submit" data-action="{:U('sort')}">排序</button>
        <button class="btn J_ajax_submit_btn" type="submit" data-action="{:U('check')}">审核</button>
        <button class="btn J_ajax_submit_btn" type="submit" data-action="{:U('cancel_check')}">取消审核</button>
        <button class="btn J_ajax_submit_btn" type="submit" data-action="{:U('batch_delete')}">删除</button>
      	
      </div>
    </div>
  </form>
</div>
<script type="text/javascript" src="__PUBLIC__/js/mod.common.js"></script>
</body>
</html>